/**
 * Copyright (C), 2015-2018, XXX有限公司
 * FileName: HeiMaClass
 * Author:   70312
 * Date:     2018/6/12 22:59
 * Description: 班级类
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package cn.itcast.domain;

import javax.persistence.*;

/**
 * 〈一句话功能简述〉<br> 
 * 〈班级类〉
 */
@Entity
@Table(name = "T_ClASS")
public class HeiMaClass {
    @Id
    @GeneratedValue
    @Column(name = "C_ID") // 班级id
    private Integer cid;
    @Column(name = "C_CLASSNAME")   // 班级名称
    private String className;
    @Column(name = "C_COUNT") // 班级人数
    private Integer count;
    @Column(name = "C_ROOMMATE")    // 班级教室
    private String roommate;
    @Column(name = "C_CLASSSTATUS")  // 班级状态,null为正在使用, 1 为已经毕业
    private String classStatus = "1";

    public String getClassStatus() {
        return classStatus;
    }

    public void setClassStatus(String classStatus) {
        this.classStatus = classStatus;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getRoommate() {
        return roommate;
    }

    public void setRoommate(String roommate) {
        this.roommate = roommate;
    }
}